-- GENERATED SPELL FOR [Mountain Boar] --


function spell0_1190(pUnit, Event) --@Rushing Charge,Self--
pUnit:FullCastSpellOnTarget(6268,pUnit)
pUnit:RegisterEvent('Sorts_1190', 3000, 1)
end

function Sorts_1190(pUnit, Event)
local choix_sorts_1190 = math.random(0, 0)
if choix_sorts_1190 == 0 then
pUnit:RegisterEvent('spell0_1190', 1, 1)
end
end

function mob1190_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1190', math.random(1500, 3000), 1)
end

function mob1190_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1190_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1190_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1190, 1, 'mob1190_Action')
RegisterUnitEvent(1190, 2, 'mob1190_Leave')
RegisterUnitEvent(1190, 3, 'mob1190_Kill')
RegisterUnitEvent(1190, 4, 'mob1190_Die')
